package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.BarHistory;
import io.bdmc.modules.bss.mapper.BarHistoryMapper;
import io.bdmc.modules.bss.model.HisParam;
import io.bdmc.modules.bss.service.BarHistoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 历史数据表 服务实现类
 * </p>
 *
 * @author HuangLu
 * @since 2019-01-09
 */
@Service
public class BarHistoryServiceImpl extends ServiceImpl<BarHistoryMapper, BarHistory> implements BarHistoryService {
    @Autowired
    private BarHistoryMapper hismapper;


    @DataFilter(tableAlias = "d", user = false)
    @Override
    public MyPage<BarHistory> mySelectPage(MyPage<BarHistory> page, HisParam hisParam) {
        return hismapper.mySelectPage(page, hisParam);
    }   
}
